package com.example.activity_service.service;

import com.example.activity_service.vo.Address;
import com.example.activity_service.vo.Red;

import java.util.Date;
import java.util.List;

public interface YssQueryService {
    //查询未使用红包
    List<Red> searchhb(int users);


    //查询已使用红包
    List<Red>searchsyhb(int users);

    //查询过期红包
    List<Red>searchgqhb(int users);


    //修改红包状态
    int updatezt(int id, int status);

    //修改过期
    int updateguoqi( );

    String chacs(String userid,String nm);

    //查所有红包
    List<Red>searchsuoyou();

    //删除红包
    int deletehb(int id);


    //添加红包
    int tianjiahb(String preferentialway,String parvalue,String threshold,String totalissued,String users);

    //修改红包
    int updatehb(int id,int preferentialway,int parvalue,int threshold,int totalissued);

    List<Red> chawei();

    void juan(String id, String juan);

    String addhuo(String id,String nm);

    int xiuhuo(String id, String nm);

    List<Address> showaddress(String user_id);

    int fanhuics(String id,String nm);
}
